<include file="Public/head" />

<body>
  <div class="panel admin-panel">
    <div class="body-content">
      <form method="post" class="form-x" action="" enctype="multipart/form-data">
        <div class="form-group">
          <div class="label">
            <label>{:L("dingdanhao")}：</label>
          </div>
          <div class="field">
            <input type="text" readonly unselectable="on" name="order_number" value="{$info['order_number']}" class="input w50">
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("dingdanhaoshangpin")}：</label>
          </div>
          <div class="field">
            <span class="input w50" style="background: #ddd">{$info['goods_option_name']|default='已删除商品'}</span>
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("chengjiaojine")}：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="total_price" value="{$info['pay_money']}" data-validate="required:{:L('qingshuru')}{:L('chengjiaojine')}" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("dingdanzt")}：</label>
          </div>
          <div class="field" style="padding-top:8px;"> 
            <input name="status" type="radio" value="1" <if condition="$info['pay_status'] eq 1">checked="checked"</if>/>{:L("weifukuan")}　
            <input name="status" type="radio" value="2" <if condition="$info['pay_status'] eq 2">checked="checked"</if>/>{:L("yifukuan")}　
            <input name="status" type="radio" value="3" <if condition="$info['pay_status'] eq 3">checked="checked"</if>/>{:L("yituikuan")}　
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("dingcanren")}：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="full_name" value="{$info['nick_name']}" data-validate="required:{:L('qingshuru')}{:L('shoujianxingming')}" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("lianxidianhua")}：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" name="tel" value="{$info['mobile']}" data-validate="required:{:L('qingshuru')}{:L('lianxidianhua')}" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("dizhi")}：</label>
          </div>
          <div class="field">
            <input type="text" class="input" name="address" value="{$info['address']}" />
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("dingdanliuyan")}：</label>
          </div>
          <div class="field">
            <span class="input w50" style="background: #ddd">{$info['message']|default='没'}</span>
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>{:L("xiadanshijian")}：</label>
          </div>
          <div class="field">
            <span class="input w50" style="background: #ddd">{$info['time']|date="Y-m-d H:i:s",###}</span>
          </div>
        </div>
        <if condition="$info['pay_status'] eq 1">
          <div class="form-group">
            <div class="label">
              <label>{:L("zhifushijian")}：</label>
            </div>
            <div class="field">
              <span class="input w50" style="background: #ddd">{$info['pay_time']|date="Y-m-d H:i:s",###}</span>
            </div>
          </div>
        </if>
        <input type="hidden" name="id" value="{$info['id']}">
        <input type="hidden" name="oid" value="{$info['oid']}">
        <div class="form-group">
          <div class="label">
            <label></label>
          </div>
          <div class="field">
            <button class="button bg-main icon-check-square-o" type="submit"> {:L("tijiao")}</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</body>

</html>